package com.study.dao;

import com.study.dto.User;
import com.study.dto.UserDto;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @Author tanglingyu
 * @Date: 2021/04/08/ 21:55
 * @Description
 */
public interface UserDao {

  List<User> getUserByName(@Param("name") String name);

  int insert(@Param("name") String name, @Param("location") String location,
      @Param("testName") String testName);

  int batchInsert(@Param("users") List<UserDto> users);
}
